package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiAddAddressRequestModel {
	
	@JsonProperty("userid")
    @ApiModelProperty(value = "用户id", example = "username", required = true)
    private String userid;
    
	@JsonProperty("id")
    @ApiModelProperty(value = "id", example = "1234", required = true)
    private String id;

	@JsonProperty("name")
    @ApiModelProperty(value = "姓名", example = "123123123", required = true)
    private String name;
    
	@JsonProperty("phone")
    @ApiModelProperty(value = "电话", example = "1234", required = false)
    private String phone;
    
	@JsonProperty("areaid")
    @ApiModelProperty(value = "区域id", example = "1234", required = true)
    private String areaid;
    
	@JsonProperty("address")
    @ApiModelProperty(value = "详细地址", example = "0", required = true)
    private String address;
    
	@JsonProperty("isDefault")
    @ApiModelProperty(value = "是否是默认", example = "", required = false)
    private String isDefault;
    
    @JsonProperty("verify")
    @ApiModelProperty(value = "加密字符串", example = "", required = true)
    private String verify;

	public String getVerify() {
		return verify;
	}

	public void setVerify(String verify) {
		this.verify = verify;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAreaid() {
		return areaid;
	}

	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(String isDefault) {
		this.isDefault = isDefault;
	}

	
 
}
